<?php
  session_start();
  if(!isset($_SESSION['authorized']))
     header('Location: ../../UnauthorizedUser.php');
  

  if($_SESSION['authorized'] == 0)
     header('Location: ../../UnauthorizedUser.php');  

?>